package com.tl.satoken.task;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.tl.satoken.domain.entity.RedisPlayer;
import com.tl.satoken.domain.entity.User;
import com.tl.satoken.mapper.HeroMapper;
import com.tl.satoken.mapper.UserMapper;
import com.tl.satoken.netty.WebSocketFrameHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.websocketx.TextWebSocketFrame;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.*;
import java.util.concurrent.TimeUnit;

@Slf4j
@Component
public class CoinGenerationTask {

}
